import React from 'react'
import { useSelector } from 'react-redux'

export default function H2() {
  let count = useSelector(state => state.count);
  return (
    <h2>{count}</h2>
  )
}
